/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package website.impl;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

import website.Page;
import website.WebsitePackage;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Page</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link website.impl.PageImpl#getTitle <em>Title</em>}</li>
 *   <li>{@link website.impl.PageImpl#isIsDefault <em>Is Default</em>}</li>
 *   <li>{@link website.impl.PageImpl#getForms <em>Forms</em>}</li>
 *   <li>{@link website.impl.PageImpl#getName <em>Name</em>}</li>
 *   <li>{@link website.impl.PageImpl#getPageTags <em>Page Tags</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class PageImpl extends CDOObjectImpl implements Page {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PageImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected EClass eStaticClass() {
		return WebsitePackage.Literals.PAGE;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getTitle() {
		return (String)eGet(WebsitePackage.Literals.PAGE__TITLE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTitle(String newTitle) {
		eSet(WebsitePackage.Literals.PAGE__TITLE, newTitle);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public boolean isIsDefault() {
		return ((Boolean)eGet(WebsitePackage.Literals.PAGE__IS_DEFAULT, true)).booleanValue();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setIsDefault(boolean newIsDefault) {
		eSet(WebsitePackage.Literals.PAGE__IS_DEFAULT, new Boolean(newIsDefault));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList getForms() {
		return (EList)eGet(WebsitePackage.Literals.PAGE__FORMS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
		return (String)eGet(WebsitePackage.Literals.PAGE__NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setName(String newName) {
		eSet(WebsitePackage.Literals.PAGE__NAME, newName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList getPageTags() {
		return (EList)eGet(WebsitePackage.Literals.PAGE__PAGE_TAGS, true);
	}

} //PageImpl
